<?php
session_start();
$userName="";

if (!isset($_SESSION['username']))
{

		header( "Location: /Auditing/Login.php"); 
}
else {

	$userName = $_SESSION['username'];

}

/*if(session_is_registered('userName')){ 

		echo "DOne";
}
else{
	echo "no data";
//	header( "Location: /Auditing/Login.php");
}*/
?> 

<link href="../main.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666666;
}

.style10 {
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;

}

-->
</style>
<table width="100%" height="66"  border="0" cellpadding="0" cellspacing="0">

  <tr>
    <th width="40%" align="left" background="../images/bg-top.gif" scope="col">&nbsp;</th>
    <th width="40%" background="../images/bg-top.gif" scope="col">&nbsp;</th>
    <th width="7%" align="right" background="../images/bg-top.gif" scope="col"><img src="../images/ver-lines.gif" width="65" height="66"></th>
    <th width="25%" align="right" background="../images/bg-top.gif" scope="col"><table width="233" height="66" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <th width="233" height="14" scope="col"><img src="../images/right-top.gif" width="233" height="14"></th>
        </tr>
        <tr>
          <td width="233" height="21" background="../images/bg-name.gif"><div align="center" class="style4">Welcome:  <?php echo $userName ?></div></td>
        </tr>
        <tr>
          <td width="233"><div align="center">
              <table width="233" height="31" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <th width="116" scope="col"><span class="HeaderLinks">Change Password</span></th>
	              <th width="116" background="../images/bg-tab-login.gif" scope="col" ><span class="HeaderLinks"><a href="../../controller/ControlManagement.php?param=loginPost&option=logout">Logout</a></span></th>
            
                </tr>
              </table>
            </div></td>
        </tr>
      </table></th>
  </tr>
</table>
<table width="100%" height="23" border="0" cellpadding="4" cellspacing="0">
  <tr>
    <th background="../images/bg-yellow.gif" scope="col"><div align="right"><span class="style10"></span></div></th>
  </tr>
</table>